Skip to main content
Version: Upcoming

ProductTradingStatusV2

V8 Message Definiton

This table contains live trading status records for entire product groups (futures and options) and asset groups and individual instruments

METADATA

AttributeValue
Topic4440-product-status
MLink TokenClientLive
ProductSRLive
accessTypeSELECT
MLink EndpointMLink-Live

Table Definition

FieldTypeKeyDefault ValueComment
secKey_atenum - AssetTypePRI'None'trading status product key Interpretation depends on the status type
secKey_tsenum - TickerSrcPRI'None'trading status product key Interpretation depends on the status type
secKey_tkVARCHAR(12)PRI''trading status product key Interpretation depends on the status type
secKey_yrSMALLINT UNSIGNEDPRI0trading status product key Interpretation depends on the status type
secKey_mnTINYINT UNSIGNEDPRI0trading status product key Interpretation depends on the status type
secKey_dyTINYINT UNSIGNEDPRI0trading status product key Interpretation depends on the status type
secKey_xxDOUBLEPRI0trading status product key Interpretation depends on the status type
secKey_cpenum - CallPutPRI'Call'trading status product key Interpretation depends on the status type
secTypeenum - SpdrKeyTypePRI'None'
tradingStatusTypeenum - TradingStatusTypePRI'None'Processing level for the product trading status 1 statusKey is the product group key 2 statusKey is the security group key statusKey is for an individual instrument
tradeDateDATE'1900-01-01'
marketStatusenum - MarketStatus'None'market status open halted etc
timestampDATETIME(6)'1900-01-01 00:00:00.000000'time of last state update CST

PRIMARY KEY DEFINITION (Unique)

FieldSequence
secKey_tk1
secKey_yr2
secKey_mn3
secKey_dy4
secKey_xx5
secKey_cp6
secKey_at7
secKey_ts8
secType9
tradingStatusType10

SELECT TABLE EXAMPLE QUERY

SELECT *
FROM `SRLive`.`MsgProductTradingStatusV2`
WHERE
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY','RATE') */
`secKey_at` = 'None'
AND
/* Replace with a ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','SCE','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFEC','ICEFEF','CEQT','TSX','TMX') */
`secKey_ts` = 'None'
AND
/* Replace with a VARCHAR(12) */
`secKey_tk` = 'Example_secKey_tk'
AND
/* Replace with a SMALLINT UNSIGNED */
`secKey_yr` = 123
AND
/* Replace with a TINYINT UNSIGNED */
`secKey_mn` = 1
AND
/* Replace with a TINYINT UNSIGNED */
`secKey_dy` = 1
AND
/* Replace with a DOUBLE */
`secKey_xx` = 4.56
AND
/* Replace with a ENUM('Call','Put','Pair') */
`secKey_cp` = 'Call'
AND
/* Replace with a ENUM('None','Stock','Future','Option','MLeg') */
`secType` = 'None'
AND
/* Replace with a ENUM('None','ProductGroup','SecurityGroup','Instrument') */
`tradingStatusType` = 'None';

Doc Columns Query

SELECT * FROM SRLive.doccolumns WHERE TABLE_NAME='ProductTradingStatusV2' ORDER BY ordinal_position ASC;